public class Dog {
    public String name;
    public String color;

    public Dog(String name, String color) {
        this.name = name;
        this.color = color;
    }

    public void bark(){
        System.out.println(this.name+"正在汪汪叫！！！");
    }

    public void shakeTail(){
        System.out.println(this.name+"正在摇尾巴！！！");
    }
}
